//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#ifndef _DisProtProcessResult_h__
#define	_DisProtProcessResult_h__
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#include "libraries.h"
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
class DisProtProcessResult {
  
  private:
    
    String*           id;
    String*           sequence;
    
    String*           seqPrediction;
    TListE <double>*  probPrediction;
    double            percentIDPPrediction;
    
  protected:
    
    bool              SplitColumn(char*, TListE <String>*, char*);
    bool              SplitColumn(char*, TListE <String>*, const char*);
    
    bool              SplitColumn(char*, TListE <double>*, char*);
    bool              SplitColumn(char*, TListE <double>*, const char*);

  public:
    
    DisProtProcessResult();
    DisProtProcessResult(const DisProtProcessResult&);
    DisProtProcessResult(const DisProtProcessResult*);
    
    ~DisProtProcessResult();

    void              Id(String*);
    void              Sequence(String*);
    
    void              SeqPrediction(String*);
    void              ProbPrediction(TListE <double>*);
    void              PercentIDPPrediction(double);
    
    void              IdInput(char*);
    void              SequenceInput(char*);
    
    void              SeqPredictionInput(char*);
    void              ProbPredictionInput(char*);
    
    String*           Id(void);
    String*           Sequence(void);
    
    String*           SeqPrediction(void);
    TListE <double>*  ProbPrediction(void);
    double            PercentIDPPrediction(void);
    
    bool              AddResidueDatas(char*);
    
    double            ComputePercentIDPPrediction(void);
    
};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#endif
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//

